package com.tom.architect.day15.simple1.observer;

/**
 * Added by Tom on 2023/12/15.
 * 微信公众号 的具体用户()
 */
public class WXUser implements IWXUser {
    private String name;

    public WXUser(String name) {
        this.name = name;
    }

    @Override
    public void push(String article) {
        System.out.println(name + " 收到了一篇文章：" + article);
    }
}
